package com.feicheng.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.house.entity.Card;
import com.feicheng.house.result.ResultInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-11-06
 */
public interface ICardService extends IService<Card> {
	
	/**
	 * 
	 * @param card
	 * @return
	 */
	ResultInfo addCard(Card card);
	
	ResultInfo deleteCard(Integer cardId);

	ResultInfo updateCard(Card card);
	
	ResultInfo getOneCard(Integer cardId);
	
	ResultInfo getListCard(
		Integer currentPage,
		Integer pageSize
		);

}
